#include "StdAfx.h"
#include "ScopedAction.h"

ScopedAction::ScopedAction(const boost::function<void()>& boostFunction)
: boostFunction_(boostFunction)
{
}

ScopedAction::~ScopedAction(void)
{
    boostFunction_();
}
